﻿using System.Collections.Generic;
using System.Linq;
using cludg.Domain.Content;

namespace cludg.Services.Content
{
	using Domain.Content.Stories;
	using Domain.Users;

	public interface IStoryService
	{
		IQueryable<Story> All { get; }
		Story ById(string storyId);
		Story NewStory(StorySubject subject, User author, User offerAuthor, string title, string body, string anonymouseAutorName,
			string tags);
		void DeleteStory(Story story);
		void EditStory(Story story, string newTitle, string newBody, string newTags);
	}
}
